/*
 *  Cero Project - Copyright   2006 The Cero Developement Team 
 *  (Michael Laguerre, Camille Roux, Matthieu Segret, Mathieu Sivade) 
 * 
 *  This program is free software; you can redistribute it and/or modify it 
 *  under the terms of the GNU General Public License as published by the Free 
 *  Software Foundation; either version 2 of the License, or (at your option) 
 *  any later version.
 * 
 *  This program is distributed in the hope that it will be useful, but 
 *  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 
 *  or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 
 *  for more details.
 */

package org.ceroproject.games;

/**
 * This interface provides methods for initalizing games. It is meant to be used
 * in Initialization Rules mainly.
 * 
 * @author Telem
 * @param <GameType>
 *            The type of game initialized by the implementer of the
 *            GameInitializer
 */
public interface GameInitializer {

	/**
	 * Initializes game according to the Initializer's
	 * 
	 * @param game
	 *            The game to initialize
	 * @throws InitializationException
	 *             if Initialization failed
	 */
	void initialize(Game game) throws InitializationException;
	
	public String toString();
}
